package com.devbobcorn.nekoration.recipes;

import com.devbobcorn.nekoration.Nekoration;

import net.minecraft.item.crafting.IRecipeSerializer;
import net.minecraft.item.crafting.SpecialRecipeSerializer;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;

public class ModRecipes {
    public static final DeferredRegister<IRecipeSerializer<?>> RECIPE_SERIALIZERS = DeferredRegister.create(ForgeRegistries.RECIPE_SERIALIZERS, Nekoration.MODID);
    
    public static final RegistryObject<IRecipeSerializer<NekoShapedRecipe>> NEKO_SHAPED = RECIPE_SERIALIZERS.register("neko_crafting_shaped", () -> new NekoShapedRecipe.Serializer());
    public static final RegistryObject<IRecipeSerializer<NekoColorInheritRecipe>> NEKO_COLOR_INHERIT = RECIPE_SERIALIZERS.register("neko_color_inherit", () -> new NekoColorInheritRecipe.Serializer());
    
    public static final RegistryObject<IRecipeSerializer<NekoStonecuttingRecipe>> NEKO_STONY = RECIPE_SERIALIZERS.register("neko_stonecutting", () -> new NekoStonecuttingRecipe.Serializer());

    public static final RegistryObject<IRecipeSerializer<WallPaperRecipe>> NEKO_WALLPAPER = RECIPE_SERIALIZERS.register("neko_crafting_wallpaper", () -> new SpecialRecipeSerializer<>(WallPaperRecipe::new));
}
